@import '../_commont/reset.scss';

$width: 1200px;
$height: 100%;
$color: #FF1268;

// header==================================start============================

.w1200 {
    width:$width;
    margin:0 auto 
}

.dm-header-wrap {
    width:100%;
    height:72px;
    box-shadow:0 2px 16px 0 rgba(220, 220, 220, .5);
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
}
.dm-header-box {
    width:1200px;
    height:100%;
    margin:0 auto;
    position:relative;
    font-size:0
}
.dm-header-box a {
    cursor:pointer
}
.dm-header-box .i-logo {
    width:92px;
    height:auto;
    margin-top:15px;
    float:left
}
.dm-header-box .location-header {
    height:100%;
    float:left;
    position:relative;
    margin-left:54px;
    line-height:72px;
    white-space:nowrap;
    cursor:pointer;
}
.dm-header-box .location-header .i-icon-location {
    width:12px;
    display:inline-block;
    vertical-align:middle
}
.dm-header-box .location-header .city-location {
    max-width:60px;
    font-size:16px;
    color:#2D2D2D;
    display:inline-block;
    vertical-align:middle;
    margin-left:5px;
    margin-right:5px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis
}
.dm-header-box .location-header .city-location:hover {
    color:#FF1268
}
.dm-header-box .location-header .i-arrow-location {
    width:9px;
    display:inline-block;
    vertical-align:middle
}
.dm-header-box .location-header .city-header-wrap {
    width:100%;
    position:absolute;
    top:0;
    left:0;
    display:none
}
.dm-header-box .location-header .city-header {
    width:626px;
    z-index:999;
    position:relative;
    left:-115px;
    top:0;
    margin-top:60px;
    background:#FFF;
    border:1px solid #F4F4F4;
    box-shadow:0 2px 8px 0 rgba(0, 0, 0, .05);
    border-radius:2px;
    padding:21px
}
.dm-header-box .location-header .city-header .name-city, .dm-header-box .location-header .city-header .title-city {
    display:inline-block;
    margin-right:15px;
    vertical-align:top;
    font-size:16px;
    color:#111;
    letter-spacing:.56px;
    float:left;
}
.dm-header-box .location-header .city-header .name-city:hover {
    color:#FF1268
}
.dm-header-box .location-header .city-header .title-city {
    width:86px
}
.dm-header-box .location-header .city-header .list-other {
    width:525px;
    display:inline-block;
    line-height:29px;
    margin-top:-3px
}
.dm-header-box .location-header .city-header .now-city {
    line-height:25px;
    height:25px
}
.dm-header-box .location-header .city-header .now-city .select-city {
    color:#FF1268;
    background-color:#fff4f8;
    padding:0 10px
}
.dm-header-box .location-header .city-header .hot-city {
    // height:25px;
    line-height:25px;
    margin-top:15px
}
.dm-header-box .location-header .city-header .other-city {
    line-height:25px;
    padding-top:15px;
    border-top:1px solid #EEE;
}
.dm-header-box .location-header .city-header:after {
    position:absolute;
    display:inline-block;
    top:0;
    left:140px;
    margin-top:-5.5px;
    width:0;
    height:0;
    content:'';
    border-style:solid;
    border-width:5px;
    border-color:#fff #fff transparent transparent;
    transform:rotate(-45deg);
    box-shadow:1px -1px 1px #ccc
}
.dm-header-box .recommend-header {
    max-width:220px;
    height:100%;
    float:left;
    margin-right:-20px;
    margin-left:40px;
    line-height:72px;
    overflow:hidden
}
.dm-header-box .recommend-header .type-recommend {
    display:inline-block;
    font-size:16px;
    color:#000;
    margin-right:18px;
    overflow:hidden
}
.dm-header-box .recommend-header .type-recommend:hover {
    color:#FF1268
}
.dm-header-box .recommend-header .select {
    color:#FF1268
}
.dm-header-box .search-header {
    width:401px;
    height:46px;
    margin-top:12px;
    margin-right:20px;
    line-height:46px;
    float:right;
    position:relative
}
.dm-header-box .search-header .i-search {
    width:17px;
    position:absolute;
    left:22px;
    top:15px;
    z-index:11
}
.dm-header-box .search-header .input-search {
    width:253px;
    height:44px;
    position:absolute;
    left:0;
    top:0;
    z-index:10;
    font-size:16px;
    background-color:transparent;
    outline:0;
    -webkit-appearance:none;
    border:0;
    padding:0 10px 0 54px;
    border-top-left-radius:46px;
    border-bottom-left-radius:46px;
    border:1px solid #f8f8f8;
    background-color:#f8f8f8;
    border-right-color:#FF1268;
    box-sizing:content-box
}
.dm-header-box .search-header .input-search:focus {
    border-color:#FF1268
}
.dm-header-box .search-header .btn-search {
    width:82px;
    height:100%;
    position:absolute;
    right:0;
    top:0;
    background:#FF1268;
    line-height:46px;
    font-size:16px;
    text-align:center;
    color:#FFF;
    border-radius:0 27px 27px 0;
    z-index:11;
    letter-spacing:4px;
    cursor:pointer
}
.dm-header-box .search-header .list-search-wrap {
    width:402px;
    position:absolute;
    left:0;
    top:0;
    display:none
}
.dm-header-box .search-header .list-search {
    width:374px;
    max-height:296px;
    overflow:hidden;
    position:relative;
    left:0;
    margin-top:55px;
    z-index:999;
    padding:0 14px;
    background:#FFF;
    box-shadow:0 2px 8px 0 rgba(0, 0, 0, .05);
    border-radius:4px
}
.dm-header-box .search-header .list-search .li-search {
    width:100%;
    height:56px;
    line-height:56px;
    display:block;
    border-bottom:1px solid #EEE
}
.dm-header-box .search-header .list-search .li-search .title-search {
    max-width:270px;
    float:left;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:14px;
    color:#111
}
.dm-header-box .search-header .list-search .li-search .title-search .c4 {
    color:#FF1268
}
.dm-header-box .search-header .list-search .li-search .title-search:hover {
    color:#FF1268
}
.dm-header-box .search-header .list-search .li-search .city-search {
    max-width:92px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    float:right;
    font-size:14px;
    color:#666
}
.dm-header-box .search-header .search-border {
    border:1px solid #F4F4F4
}
.dm-header-box .right-header {
    min-width:55px;
    height:100%;
    position:relative;
    float:right;
    line-height:72px
}
.dm-header-box .right-header .box-header {
    height:100%;
    display:inline-block;
    line-height:72px;
    cursor:pointer;
    position:relative;
    margin-left:20px
}
.dm-header-box .right-header .box-header .i-box-header {
    width:26px;
    z-index:20000;
    display:inline-block;
    margin-right:4px;
    vertical-align:middle
}
.dm-header-box .right-header .box-header .span-box-header {
    display:inline-block;
    vertical-align:middle;
    color:#111;
    cursor:pointer;
    font-size:16px
}
.dm-header-box .right-header .box-header .span-box-header:hover {
    color:#FF1268
}
.dm-header-box .right-header .user-header .login-user, .dm-header-box .right-header .user-header .name-user {
    display:none
}
.dm-header-box .right-header .user-header .name-user {
    max-width:50px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap
}
.dm-header-box .right-header .user-header .i-user {
    border-radius:13px
}
.dm-header-box .right-header .user-header .show{
    display:inline-block
}
.dm-header-box .right-header .user-header .list-wrap {
    width:133px;
    display:none;
    position:absolute;
    left:50%;
    margin-left:-67px;
    top:50px;
    z-index:999
}
.dm-header-box .right-header .user-header:hover .list-wrap{
    display:inline-block;
}

// ==================================================================================
.dm-header-box .right-header .user-header .list-login {
    width:100%;
    position:relative;
    margin-top:10px;
    background:#FFF;
    border:1px solid #F4F4F4;
    box-shadow:0 2px 8px 0 rgba(0, 0, 0, .05);
    border-radius:2px
}
.dm-header-box .right-header .user-header .list-login .arrow-login {
    width:0;
    height:0;
    position:absolute;
    top:-20px;
    left:56.5px;
    z-index:2;
    border-top:10px solid transparent;
    border-right:10px solid transparent;
    border-bottom:10px solid #fff;
    border-left:10px solid transparent
}
.dm-header-box .right-header .user-header .list-login .li-login {
    width:100%;
    height:50px;
    display:block;
    line-height:50px;
    font-size:14px;
    color:#111;
    letter-spacing:.54px;
    text-align:center;
    border-bottom:1px solid #F2F2F2
}
.dm-header-box .right-header .user-header .list-login .out-login {
    // display:none
}

.dm-header-box .right-header .user-header .list-login .li-login:hover {
    color:#FF1268;
    background-color:#fff4f8
}
.dm-header-box .right-header .user-header .list-login:after {
    position:absolute;
    display:inline-block;
    top:0;
    left:50%;
    margin-top:-5.5px;
    width:0;
    margin-left:-3px;
    height:0;
    content:'';
    border-style:solid;
    border-width:5px;
    border-color:#fff #fff transparent transparent;
    transform:rotate(-45deg);
    box-shadow:1px -1px 1px #ccc
}
.dm-header-box .right-header .download-header .ewm-download {
    width:80px;
    height:80px;
    display:none;
    position:absolute;
    top:60px;
    left:-12px;
    z-index:999;
    background:#fff;
    padding:5px;
    box-shadow:1px -1px 1px #ccc
}
.dm-header-box .right-header .download-header:hover .ewm-download{
    display: inline-block;
}
.dm-header-box .right-header .download-header .ewm-download .i-ewm {
    width:100%
}
.dm-header-box .right-header .download-header .ewm-download:after {
    position:absolute;
    display:inline-block;
    top:0;
    left:50%;
    margin-top:-5.5px;
    width:0;
    margin-left:-3px;
    height:0;
    content:'';
    border-style:solid;
    border-width:5px;
    border-color:#fff #fff transparent transparent;
    transform:rotate(-45deg);
    box-shadow:1px -1px 1px #ccc
}


// header==================================end============================

